package com.train.pattern.strategy.v2.pay.way;


import com.train.pattern.strategy.v2.pay.Account;
import com.train.pattern.strategy.v2.pay.MsgResult;

/**
 * @author hgx61
 * @create 2021-01-15 13:55
 */

public interface PayStrategy {
    /**
     * 支付
     * @param account
     * @param totalMoney
     * @return
     */
    MsgResult pay(Account account, double totalMoney);
}
